﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 RequestInfo (服务，产品...网站的主体数据) 
    /// 作者：     lwl
    /// 日期：     2011/10/13
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class RequestInfo
    {
        public RequestInfo()
        {

        }

        #region Model

        private string _requestid;
        private string _userid;
        /// <summary>
        /// 用户详细信息
        /// </summary>
        public UserInfo User { get; set; }
        private string _categoryname;
        private string _title;
        private string _description;
        private string _requestfrom;
        private int _statusid;
        private int _state;
        private int _isdel;
        private DateTime _createdate = DateTime.Parse("1900-1-1");
        private DateTime _updatedate = DateTime.Parse("1900-1-1");
        private DateTime _begindate = DateTime.Parse("1900-1-1");
        private DateTime _enddate = DateTime.Parse("1900-1-1");

        /// <summary>
        /// 编号
        /// </summary>
        public string RequestID
        {
            get { return _requestid; }
            set { _requestid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserID
        {
            get { return _userid; }
            set { _userid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CategoryName
        {
            get { return _categoryname; }
            set { _categoryname = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        /// <summary>
        ///需求价格
        /// </summary>
        public decimal Price { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string RequestFrom
        {
            get { return _requestfrom; }
            set { _requestfrom = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int StatusID
        {
            get { return _statusid; }
            set { _statusid = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int State
        {
            get { return _state; }
            set { _state = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate
        {
            get { return _updatedate; }
            set { _updatedate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BeginDate
        {
            get { return _begindate; }
            set { _begindate = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        #endregion Model
    }
}
